package com.smartfarm.Celue;

import com.smartfarm.Celue.PathStrategy;

//策略模式相关
public class PathPlanner {
    private PathStrategy strategy;

    public void setStrategy(PathStrategy strategy) {
        this.strategy = strategy;
    }

    public void executePathPlanning() {
        strategy.calculatePath();
    }
}